package com.rupertjones.globalcron.web.service;

import com.rupertjones.globalcron.domain.Setting;
import com.rupertjones.globalcron.domain.SettingType;

import java.util.Collection;

/**
 * <p>&copy Rupert Jones 2011,2012</p>
 *
 * @author rup
 */
public interface SettingsService {
    Setting find(SettingType type);
    Collection<Setting> findAll();
    Setting find(int settingId);
    void save(Setting setting);
    Object getSettingValue(SettingType type);
}
